﻿<%@ Control Language="C#"  %>
<%@ Register Assembly="Swaf.Gui.AspNet2" Namespace="Swaf.Gui.AspNet2" TagPrefix="swf" %>
	<div>
	<%HtmlBlock method = "processList"; %>
		<%Conditional on="Depth==0"; %>
		<div class="title">
			<asp:HyperLink id="title" runat="server"  NavigateUrl="$navLink$"/><br />
		</div>
		<%EndConditional; %>
		<%Conditional on="Depth==1"; %>
			<div style="float:right;">
				<asp:HyperLink ID="primaryPicture_name" runat="server" 
					ImageUrl="/$mediaCacheName$/SmallThumbnail/$primaryPicture.name$" 
					EnableViewState="false"  NavigateUrl="$navLink$"/>
				<div >
					<asp:HyperLink id="title" runat="server"  NavigateUrl="$navLink$"/><br />
					<swf:ReadOnlyText ID="summary" runat="server"  />
					<div> 
						<asp:HyperLink ID="moreLink" runat="server"  Width="90%" NavigateUrl="$navLink$"/></td>
					</div>
				</div>
			</div>
		<%EndConditional; %>
    <%EndHtmlBlock; %>
    </div>
